Literal String
Java field-friendly version of TomlLiteralString
Marks the annotated String property as literal when encoded.
class LiteralStringData(
@TomlLiteralString
val literalString: String
)
LiteralStringData("C:\\Users\\<User>\\.m2\\repositories")
Content copied to clipboard
will produce:
literalString = 'C:\Users\<User>\.m2\repositories'
Content copied to clipboard
Author
fzzyhmstrs
Since
0.2.0